package com.onec.service.auth.dao;

import com.onec.service.api.dao.BaseRepository;
import com.onec.service.auth.entity.ResourcePermission;
import org.springframework.data.repository.RepositoryDefinition;

import java.util.List;

/**
 * @author ONEC
 */
@RepositoryDefinition(domainClass = ResourcePermission.class, idClass = Long.class)
public interface ResourcePermissionRepository extends BaseRepository<ResourcePermission, Long> {


    List<ResourcePermission> findByUrl(String url);
}
